import request from '@/utils/request'

// 查询用户数据列表
export function listUser(query) {
  return request({
    url: '/user-data/dataList',
    method: 'get',
    params: query
  })
}

// 导出用户数据
export function exportUser(query) {
  return request({
    url: '/user-data/dataExport',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}
